set encoding utf8
set term postscript eps enhanced color
set grid

# Plots de tempo de execução
set xlabel 'Palavras encontradas (%)'
set ylabel 'Tempo (s)'
set xrange [0:100]
set xtics 10

set output 'img/tempos.eps'
plot 'tempos/3.data' title '3 processos' with yerrorlines lt rgb '#000000', \
     'tempos/4.data' title '4 processos' with yerrorlines lt rgb '#FF0000', \
     'tempos/5.data' title '5 processos' with yerrorlines lt rgb '#FF8000', \
     'tempos/6.data' title '6 processos' with yerrorlines lt rgb '#FFFF00', \
     'tempos/7.data' title '7 processos' with yerrorlines lt rgb '#00FF00', \
     'tempos/8.data' title '8 processos' with yerrorlines lt rgb '#00FFFF', \
     'tempos/9.data' title '9 processos' with yerrorlines lt rgb '#0080FF', \
     'tempos/10.data' title '10 processos' with yerrorlines lt rgb '#0000FF'

set xlabel 'Número de processos'
set xrange [3:10]
set xtics 1

set output 'img/tempos_leitura.eps'
plot 'tempos/read.data' title '' with yerrorlines lt rgb '#dd1111'
